AUTOMAKE_OPTIONS = nostdinc
AM_CPPFLAGS = \
	-I$(top_builddir)/include \
	-I$(top_srcdir)/include \
	-I$(includedir)

lib_LTLIBRARIES = libxputl.la
libxputl_la_SOURCES = \
	auth.c \
	fsm.c \
	fsm_copy.c \
	fsm_error.c \
	fsm_mkdir.c \
	fsm_move.c \
	fsm_rmdir.c \
	grep.c \
	isbn.c \
	log.c \
	slm.c 

libxputl_la_LDFLAGS = -version-info 1:0:0 -L$(libdir)

if ENABLE_CXX
lib_LTLIBRARIES += libxputl++.la
libxputl___la_SOURCES = \
	SkvEnv.cpp \
	SkvEnvPath.cpp \
	SkvList.cpp \
	SkvListPath.cpp 
libxputl___la_LDFLAGS = -version-info 1:0:0 -L$(libdir)
endif

